from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('lists.views',
                       (r'^$', 'home'),
                       (r'^(\w+)$', 'profile'),
                       (r'^api/upload/photo/list/(\d*)$', 'api_upload_list_photo'),
                       (r'^api/list/(\d*)$', 'api_list'),
                       (r'^api/list/(\d+)/items/(\d*)$', 'api_list_items'),
                       (r'^api/item/(\d+)$', 'api_item'),
                       (r'^api/user/(\w+)/lists$', 'api_user_lists'),
                       (r'^api/list/(\d+)/photos/(\d*)$', 'api_list_photos'))